import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SharedModule } from '@/shared/shared.module';

import { TypeDevices } from '@/entity/type/type_devices.entity';
import { TypeDevicesDao } from '@/servers/daos/type/type-devices.dao';
import { Category } from '@/entity/common/category/category.entity';
import { CategoryDao } from '@/servers/daos/common/category/category.dao';
import { CategoryController } from './controllers/category.controller';
import { CategoryService } from './services/category.service';


@Module({
  imports: [TypeOrmModule.forFeature([TypeDevices, Category]),
    SharedModule],
  controllers: [CategoryController],
  providers: [TypeDevicesDao, CategoryService, CategoryDao]
})
export class CategoryModule { }
